package com.wanxi;

public class WaterDispenser {
    private String brand;
    private String color;
    private String capacity;
    private String model;


    public void show() {
        Util.print("品牌: {1}, 颜色: {2}, 容量: {3}, 型号: {4}", brand, color, capacity, model);
    }

    public WaterDispenser() {
    }

    public WaterDispenser(String brand, String color, String capacity, String model) {
        this.brand = brand;
        this.color = color;
        this.capacity = capacity;
        this.model = model;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getCapacity() {
        return capacity;
    }

    public void setCapacity(String capacity) {
        this.capacity = capacity;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }
}
